package com.learn.lsp.good;

public class Square implements Quadrilateral {

    private long length;

    @Override
    public long getWidth() {
        return getLength();
    }

    @Override
    public long getHeight() {
        return getLength();
    }

    public long getLength() {
        return length;
    }

    public Square setLength(long length) {
        this.length = length;
        return this;
    }
}
